package com.pogodin.testApp;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;

public class Runner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(new String [] {"spring-config.xml"});
		
		Student st = (Student)context.getBean("student");	
		System.out.println(st.write());
	}

}
